package com.sztx.pay.center.dataaccess.domain;

import java.io.Serializable;
import java.util.Date;

public class RiskControlRuleDO implements Serializable {

	private static final long serialVersionUID = -7659632884801561460L;
	
	private long id;// 风控规则id
	
	private String riskLevel;// 风控等级
	
	private int tradeDayNumberLimit;// 每日交易笔数上限(-1则不限)
	private long tradeOnceAmountLower;// 单笔交易金额下限(单位:分,-1则不限)
	private long tradeOnceAmountUpper;// 单笔交易金额上限(单位:分,-1则不限)
	private long tradeDayAmountUpper;// 每日交易金额上限(单位:分,-1则不限)
	private long tradeMonthAmountUpper;// 每月交易金额上限(单位:分,-1则不限)
	
	private int chargeDayNumberLimit;// 每日充值笔数上限(-1则不限)
	private long chargeOnceAmountLower;// 单笔充值金额下限(单位:分,-1则不限)
	private long chargeOnceAmountUpper;// 单笔充值金额上限(单位:分,-1则不限)
	private long chargeDayAmountUpper;// 每日充值金额上限(单位:分,-1则不限)
	private long chargeMonthAmountUpper;// 每月充值金额上限(单位:分,-1则不限)
	
	private int transferDayNumberLimit;// 每日转账笔数上限(-1则不限)
	private long transferOnceAmountLower;// 单笔转账金额下限(单位:分,-1则不限)
	private long transferOnceAmountUpper;// 单笔转账金额上限(单位:分,-1则不限)
	private long transferDayAmountUpper;// 每日转账金额上限(单位:分,-1则不限)
	private long transferMonthAmountUpper;// 每月转账金额上限(单位:分,-1则不限)
	
	private int withdrawDayNumberLimit;// 每日提现笔数上限(-1则不限)
	private long withdrawOnceAmountLower;// 单笔提现金额下限(单位:分,-1则不限)
	private long withdrawOnceAmountUpper;// 单笔提现金额上限(单位:分,-1则不限)
	private long withdrawDayAmountUpper;// 每日提现金额上限(单位:分,-1则不限)
	private long withdrawMonthAmountUpper;// 每月提现金额上限(单位:分,-1则不限)
	
	private int state;// 状态(1有效,2无效)
	
	private Date modifyTime;// 修改时间

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getRiskLevel() {
		return riskLevel;
	}

	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}

	public int getTradeDayNumberLimit() {
		return tradeDayNumberLimit;
	}

	public void setTradeDayNumberLimit(int tradeDayNumberLimit) {
		this.tradeDayNumberLimit = tradeDayNumberLimit;
	}

	public long getTradeOnceAmountLower() {
		return tradeOnceAmountLower;
	}

	public void setTradeOnceAmountLower(long tradeOnceAmountLower) {
		this.tradeOnceAmountLower = tradeOnceAmountLower;
	}

	public long getTradeOnceAmountUpper() {
		return tradeOnceAmountUpper;
	}

	public void setTradeOnceAmountUpper(long tradeOnceAmountUpper) {
		this.tradeOnceAmountUpper = tradeOnceAmountUpper;
	}

	public long getTradeDayAmountUpper() {
		return tradeDayAmountUpper;
	}

	public void setTradeDayAmountUpper(long tradeDayAmountUpper) {
		this.tradeDayAmountUpper = tradeDayAmountUpper;
	}

	public long getTradeMonthAmountUpper() {
		return tradeMonthAmountUpper;
	}

	public void setTradeMonthAmountUpper(long tradeMonthAmountUpper) {
		this.tradeMonthAmountUpper = tradeMonthAmountUpper;
	}

	public int getChargeDayNumberLimit() {
		return chargeDayNumberLimit;
	}

	public void setChargeDayNumberLimit(int chargeDayNumberLimit) {
		this.chargeDayNumberLimit = chargeDayNumberLimit;
	}

	public long getChargeOnceAmountLower() {
		return chargeOnceAmountLower;
	}

	public void setChargeOnceAmountLower(long chargeOnceAmountLower) {
		this.chargeOnceAmountLower = chargeOnceAmountLower;
	}

	public long getChargeOnceAmountUpper() {
		return chargeOnceAmountUpper;
	}

	public void setChargeOnceAmountUpper(long chargeOnceAmountUpper) {
		this.chargeOnceAmountUpper = chargeOnceAmountUpper;
	}

	public long getChargeDayAmountUpper() {
		return chargeDayAmountUpper;
	}

	public void setChargeDayAmountUpper(long chargeDayAmountUpper) {
		this.chargeDayAmountUpper = chargeDayAmountUpper;
	}

	public long getChargeMonthAmountUpper() {
		return chargeMonthAmountUpper;
	}

	public void setChargeMonthAmountUpper(long chargeMonthAmountUpper) {
		this.chargeMonthAmountUpper = chargeMonthAmountUpper;
	}

	public int getTransferDayNumberLimit() {
		return transferDayNumberLimit;
	}

	public void setTransferDayNumberLimit(int transferDayNumberLimit) {
		this.transferDayNumberLimit = transferDayNumberLimit;
	}

	public long getTransferOnceAmountLower() {
		return transferOnceAmountLower;
	}

	public void setTransferOnceAmountLower(long transferOnceAmountLower) {
		this.transferOnceAmountLower = transferOnceAmountLower;
	}

	public long getTransferOnceAmountUpper() {
		return transferOnceAmountUpper;
	}

	public void setTransferOnceAmountUpper(long transferOnceAmountUpper) {
		this.transferOnceAmountUpper = transferOnceAmountUpper;
	}

	public long getTransferDayAmountUpper() {
		return transferDayAmountUpper;
	}

	public void setTransferDayAmountUpper(long transferDayAmountUpper) {
		this.transferDayAmountUpper = transferDayAmountUpper;
	}

	public long getTransferMonthAmountUpper() {
		return transferMonthAmountUpper;
	}

	public void setTransferMonthAmountUpper(long transferMonthAmountUpper) {
		this.transferMonthAmountUpper = transferMonthAmountUpper;
	}

	public int getWithdrawDayNumberLimit() {
		return withdrawDayNumberLimit;
	}

	public void setWithdrawDayNumberLimit(int withdrawDayNumberLimit) {
		this.withdrawDayNumberLimit = withdrawDayNumberLimit;
	}

	public long getWithdrawOnceAmountLower() {
		return withdrawOnceAmountLower;
	}

	public void setWithdrawOnceAmountLower(long withdrawOnceAmountLower) {
		this.withdrawOnceAmountLower = withdrawOnceAmountLower;
	}

	public long getWithdrawOnceAmountUpper() {
		return withdrawOnceAmountUpper;
	}

	public void setWithdrawOnceAmountUpper(long withdrawOnceAmountUpper) {
		this.withdrawOnceAmountUpper = withdrawOnceAmountUpper;
	}

	public long getWithdrawDayAmountUpper() {
		return withdrawDayAmountUpper;
	}

	public void setWithdrawDayAmountUpper(long withdrawDayAmountUpper) {
		this.withdrawDayAmountUpper = withdrawDayAmountUpper;
	}

	public long getWithdrawMonthAmountUpper() {
		return withdrawMonthAmountUpper;
	}

	public void setWithdrawMonthAmountUpper(long withdrawMonthAmountUpper) {
		this.withdrawMonthAmountUpper = withdrawMonthAmountUpper;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "RiskControlRuleDO [id=" + id + ", riskLevel=" + riskLevel + ", tradeDayNumberLimit=" + tradeDayNumberLimit + ", tradeOnceAmountLower="
				+ tradeOnceAmountLower + ", tradeOnceAmountUpper=" + tradeOnceAmountUpper + ", tradeDayAmountUpper=" + tradeDayAmountUpper
				+ ", tradeMonthAmountUpper=" + tradeMonthAmountUpper + ", chargeDayNumberLimit=" + chargeDayNumberLimit + ", chargeOnceAmountLower="
				+ chargeOnceAmountLower + ", chargeOnceAmountUpper=" + chargeOnceAmountUpper + ", chargeDayAmountUpper=" + chargeDayAmountUpper
				+ ", chargeMonthAmountUpper=" + chargeMonthAmountUpper + ", transferDayNumberLimit=" + transferDayNumberLimit + ", transferOnceAmountLower="
				+ transferOnceAmountLower + ", transferOnceAmountUpper=" + transferOnceAmountUpper + ", transferDayAmountUpper=" + transferDayAmountUpper
				+ ", transferMonthAmountUpper=" + transferMonthAmountUpper + ", withdrawDayNumberLimit=" + withdrawDayNumberLimit
				+ ", withdrawOnceAmountLower=" + withdrawOnceAmountLower + ", withdrawOnceAmountUpper=" + withdrawOnceAmountUpper + ", withdrawDayAmountUpper="
				+ withdrawDayAmountUpper + ", withdrawMonthAmountUpper=" + withdrawMonthAmountUpper + ", state=" + state + ", modifyTime=" + modifyTime + "]";
	}

}
